package com.bootdo.clouddo.dao.juejin;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.bootdo.clouddo.dao.BaseMapper;
import com.bootdo.clouddo.domain.juejin.PostDO;

@Mapper
public interface PostDao extends BaseMapper<PostDO>{
	
	List<PostDO> find(@Param("whereStr") String whereStr, @Param("orderField") String orderField, @Param("order") String order, RowBounds rowBounds);
	
	List<String> findCategoriesByUser(@Param("userId") String userId);
	
	List<String> findTagsByUser(@Param("userId") String userId);
	
}
